[INFO] cloning repository https://github.com/bharatgohil/embevisor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bharatgohil/embevisor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbharatgohil%2Fembevisor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbharatgohil%2Fembevisor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] faceda372fef639888e55049d431b48a361a4d78
[INFO] checking bharatgohil/embevisor against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbharatgohil%2Fembevisor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bharatgohil/embevisor on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bharatgohil/embevisor
[INFO] finished tweaking git repo https://github.com/bharatgohil/embevisor
[INFO] tweaked toml for git repo https://github.com/bharatgohil/embevisor written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/bharatgohil/embevisor already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: build
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tock-registers v0.7.0
[INFO] [stderr]   Downloaded cortex-a v6.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 12f103da5adf6f75a08032952eab198cef120367d58b525112303a8e6a393971
[INFO] running `Command { std: "docker" "start" "-a" "12f103da5adf6f75a08032952eab198cef120367d58b525112303a8e6a393971", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12f103da5adf6f75a08032952eab198cef120367d58b525112303a8e6a393971", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12f103da5adf6f75a08032952eab198cef120367d58b525112303a8e6a393971", kill_on_drop: false }`
[INFO] [stdout] 12f103da5adf6f75a08032952eab198cef120367d58b525112303a8e6a393971
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a4709925f80c26db03834656b4e32f5479dedbf4de889e790f282c93a816777
[INFO] running `Command { std: "docker" "start" "-a" "0a4709925f80c26db03834656b4e32f5479dedbf4de889e790f282c93a816777", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: build
[INFO] [stderr]     Checking tock-registers v0.7.0
[INFO] [stderr]     Checking embevisor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a`
[INFO] [stdout]  --> src/kernel.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cortex_a::registers::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a`
[INFO] [stdout]  --> src/timer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cortex_a::{registers::*};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a`
[INFO] [stdout]  --> src/mmu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cortex_a::registers::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `cortex_a`, `asm::nop`
[INFO] [stdout]  --> src/uart.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cortex_a::asm;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 3 | pub use asm::nop;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a`
[INFO] [stdout]  --> src/mmu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cortex_a::asm::barrier;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `cortex_a`, `asm::nop`, `cortex_a::asm::barrier`, `barrier::isb`
[INFO] [stdout]  --> src/timer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cortex_a::asm;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 4 | pub use asm::nop;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/mmu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cortex_a::asm::barrier;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 2 | pub use barrier::isb;
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `cortex_a`, `asm::nop`
[INFO] [stdout]  --> src/mmu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cortex_a::asm;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 5 | pub use asm::nop;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a`
[INFO] [stdout]  --> src/kernel.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cortex_a::registers::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a`
[INFO] [stdout]  --> src/timer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cortex_a::{registers::*};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a`
[INFO] [stdout]  --> src/mmu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cortex_a::registers::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `cortex_a`, `asm::nop`
[INFO] [stdout]  --> src/uart.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cortex_a::asm;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 3 | pub use asm::nop;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a`
[INFO] [stdout]  --> src/mmu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cortex_a::asm::barrier;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `cortex_a`, `asm::nop`, `cortex_a::asm::barrier`, `barrier::isb`
[INFO] [stdout]  --> src/timer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cortex_a::asm;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 4 | pub use asm::nop;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/mmu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cortex_a::asm::barrier;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 2 | pub use barrier::isb;
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `cortex_a`, `asm::nop`
[INFO] [stdout]  --> src/mmu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cortex_a::asm;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_a`
[INFO] [stdout] 5 | pub use asm::nop;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `global_asm` in this scope
[INFO] [stdout]   --> src/kernel.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | global_asm!(include_str!("vectors.S"));
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this macro:
[INFO] [stdout]            core::arch::global_asm
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `global_asm` in this scope
[INFO] [stdout]   --> src/kernel.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | global_asm!(include_str!("boot.S"));
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this macro:
[INFO] [stdout]            core::arch::global_asm
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF`
[INFO] [stdout]   --> src/timer.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |         DAIF.write(DAIF::I::Unmasked)     
[INFO] [stdout]    |                    ^^^^ use of undeclared type `DAIF`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0`
[INFO] [stdout]   --> src/timer.rs:45:34
[INFO] [stdout]    |
[INFO] [stdout] 45 |         CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET)
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2`
[INFO] [stdout]   --> src/mmu.rs:86:24
[INFO] [stdout]    |
[INFO] [stdout] 86 |         MAIR_EL2.write(MAIR_EL2::Attr1_Normal_Inner::WriteBack_NonTransient_ReadWriteAlloc + 
[INFO] [stdout]    |                        ^^^^^^^^ use of undeclared type `MAIR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2`
[INFO] [stdout]   --> src/mmu.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             MAIR_EL2::Attr1_Normal_Outer::WriteBack_NonTransient_ReadWriteAlloc + 
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `MAIR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2`
[INFO] [stdout]   --> src/mmu.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             MAIR_EL2::Attr0_Device::nonGathering_nonReordering_EarlyWriteAck);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `MAIR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:90:56
[INFO] [stdout]    |
[INFO] [stdout] 90 |             TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + 
[INFO] [stdout]    |                                                        ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |             TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + 
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `global_asm` in this scope
[INFO] [stdout]   --> src/kernel.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | global_asm!(include_str!("vectors.S"));
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this macro:
[INFO] [stdout]            core::arch::global_asm
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:91:72
[INFO] [stdout]    |
[INFO] [stdout] 91 |             TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + 
[INFO] [stdout]    |                                                                        ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `global_asm` in this scope
[INFO] [stdout]   --> src/kernel.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | global_asm!(include_str!("boot.S"));
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this macro:
[INFO] [stdout]            core::arch::global_asm
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:91:94
[INFO] [stdout]    |
[INFO] [stdout] 91 |             TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + 
[INFO] [stdout]    |                                                                                              ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             TCR_EL2::TG0::KiB_4 + TCR_EL2::TBI::Ignored);
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:92:35
[INFO] [stdout]    |
[INFO] [stdout] 92 |             TCR_EL2::TG0::KiB_4 + TCR_EL2::TBI::Ignored);
[INFO] [stdout]    |                                   ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |             HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0));
[INFO] [stdout]    |                           ^^^^^^^ use of undeclared type `HCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSel`
[INFO] [stdout]   --> src/mmu.rs:95:25
[INFO] [stdout]    |
[INFO] [stdout] 95 |             SPSel.write(SPSel::SP::ELx);
[INFO] [stdout]    |                         ^^^^^ use of undeclared type `SPSel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF`
[INFO] [stdout]   --> src/timer.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |         DAIF.write(DAIF::I::Unmasked)     
[INFO] [stdout]    |                    ^^^^ use of undeclared type `DAIF`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:121:25
[INFO] [stdout]     |
[INFO] [stdout] 121 |         SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:121:51
[INFO] [stdout]     |
[INFO] [stdout] 121 |         SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable
[INFO] [stdout]     |                                                   ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0`
[INFO] [stdout]   --> src/timer.rs:45:34
[INFO] [stdout]    |
[INFO] [stdout] 45 |         CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET)
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:121:77
[INFO] [stdout]     |
[INFO] [stdout] 121 |         SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable
[INFO] [stdout]     |                                                                             ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 122 |             + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable);
[INFO] [stdout]     |               ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:122:40
[INFO] [stdout]     |
[INFO] [stdout] 122 |             + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable);
[INFO] [stdout]     |                                        ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2`
[INFO] [stdout]   --> src/mmu.rs:86:24
[INFO] [stdout]    |
[INFO] [stdout] 86 |         MAIR_EL2.write(MAIR_EL2::Attr1_Normal_Inner::WriteBack_NonTransient_ReadWriteAlloc + 
[INFO] [stdout]    |                        ^^^^^^^^ use of undeclared type `MAIR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:122:63
[INFO] [stdout]     |
[INFO] [stdout] 122 |             + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable);
[INFO] [stdout]     |                                                               ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2`
[INFO] [stdout]   --> src/mmu.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             MAIR_EL2::Attr1_Normal_Outer::WriteBack_NonTransient_ReadWriteAlloc + 
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `MAIR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2`
[INFO] [stdout]   --> src/mmu.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             MAIR_EL2::Attr0_Device::nonGathering_nonReordering_EarlyWriteAck);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `MAIR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CNTP_TVAL_EL0` in this scope
[INFO] [stdout]   --> src/timer.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         CNTP_TVAL_EL0.set(CNTFRQ_EL0.get()/100);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope
[INFO] [stdout]   --> src/timer.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |         CNTP_TVAL_EL0.set(CNTFRQ_EL0.get()/100);
[INFO] [stdout]    |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope
[INFO] [stdout]   --> src/timer.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         CNTP_CTL_EL0.set(0x1);
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DAIF` in this scope
[INFO] [stdout]   --> src/timer.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         DAIF.write(DAIF::I::Unmasked)     
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope
[INFO] [stdout]   --> src/timer.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET)
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAIR_EL2` in this scope
[INFO] [stdout]   --> src/mmu.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         MAIR_EL2.write(MAIR_EL2::Attr1_Normal_Inner::WriteBack_NonTransient_ReadWriteAlloc + 
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:90:56
[INFO] [stdout]    |
[INFO] [stdout] 90 |             TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + 
[INFO] [stdout]    |                                                        ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TCR_EL2` in this scope
[INFO] [stdout]   --> src/mmu.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + 
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HCR_EL2` in this scope
[INFO] [stdout]   --> src/mmu.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0));
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPSel` in this scope
[INFO] [stdout]   --> src/mmu.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             SPSel.write(SPSel::SP::ELx);
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TTBR0_EL2` in this scope
[INFO] [stdout]    --> src/mmu.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         TTBR0_EL2.set(self.get_base_addr() as u64);
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCTLR_EL2` in this scope
[INFO] [stdout]    --> src/mmu.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CurrentEL` in this scope
[INFO] [stdout]   --> src/kernel.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let el = CurrentEL.read_as_enum(CurrentEL::EL);
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |             TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + 
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:91:72
[INFO] [stdout]    |
[INFO] [stdout] 91 |             TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + 
[INFO] [stdout]    |                                                                        ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:91:94
[INFO] [stdout]    |
[INFO] [stdout] 91 |             TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + 
[INFO] [stdout]    |                                                                                              ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             TCR_EL2::TG0::KiB_4 + TCR_EL2::TBI::Ignored);
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:92:35
[INFO] [stdout]    |
[INFO] [stdout] 92 |             TCR_EL2::TG0::KiB_4 + TCR_EL2::TBI::Ignored);
[INFO] [stdout]    |                                   ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |             HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0));
[INFO] [stdout]    |                           ^^^^^^^ use of undeclared type `HCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSel`
[INFO] [stdout]   --> src/mmu.rs:95:25
[INFO] [stdout]    |
[INFO] [stdout] 95 |             SPSel.write(SPSel::SP::ELx);
[INFO] [stdout]    |                         ^^^^^ use of undeclared type `SPSel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:121:25
[INFO] [stdout]     |
[INFO] [stdout] 121 |         SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:121:51
[INFO] [stdout]     |
[INFO] [stdout] 121 |         SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable
[INFO] [stdout]     |                                                   ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:121:77
[INFO] [stdout]     |
[INFO] [stdout] 121 |         SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable
[INFO] [stdout]     |                                                                             ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 122 |             + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable);
[INFO] [stdout]     |               ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:122:40
[INFO] [stdout]     |
[INFO] [stdout] 122 |             + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable);
[INFO] [stdout]     |                                        ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2`
[INFO] [stdout]    --> src/mmu.rs:122:63
[INFO] [stdout]     |
[INFO] [stdout] 122 |             + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable);
[INFO] [stdout]     |                                                               ^^^^^^^^^ use of undeclared type `SCTLR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CNTP_TVAL_EL0` in this scope
[INFO] [stdout]   --> src/timer.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         CNTP_TVAL_EL0.set(CNTFRQ_EL0.get()/100);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope
[INFO] [stdout]   --> src/timer.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |         CNTP_TVAL_EL0.set(CNTFRQ_EL0.get()/100);
[INFO] [stdout]    |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope
[INFO] [stdout]   --> src/timer.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         CNTP_CTL_EL0.set(0x1);
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DAIF` in this scope
[INFO] [stdout]   --> src/timer.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         DAIF.write(DAIF::I::Unmasked)     
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope
[INFO] [stdout]   --> src/timer.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET)
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAIR_EL2` in this scope
[INFO] [stdout]   --> src/mmu.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         MAIR_EL2.write(MAIR_EL2::Attr1_Normal_Inner::WriteBack_NonTransient_ReadWriteAlloc + 
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TCR_EL2` in this scope
[INFO] [stdout]   --> src/mmu.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + 
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HCR_EL2` in this scope
[INFO] [stdout]   --> src/mmu.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0));
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPSel` in this scope
[INFO] [stdout]   --> src/mmu.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             SPSel.write(SPSel::SP::ELx);
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TTBR0_EL2` in this scope
[INFO] [stdout]    --> src/mmu.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         TTBR0_EL2.set(self.get_base_addr() as u64);
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCTLR_EL2` in this scope
[INFO] [stdout]    --> src/mmu.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL`
[INFO] [stdout]    --> src/kernel.rs:64:14
[INFO] [stdout]     |
[INFO] [stdout] 64  |         Some(CurrentEL::EL::Value::EL2)=>{
[INFO] [stdout]     |              ^^^^^^^^^ use of undeclared type `CurrentEL`
[INFO] [stdout]     |
[INFO] [stdout] note: these enums exist but are inaccessible
[INFO] [stdout]    --> src/uart.rs:33:1
[INFO] [stdout]     |
[INFO] [stdout] 33  |             / register_bitfields! {
[INFO] [stdout] 34  |             |     u32,
[INFO] [stdout] 35  |             |
[INFO] [stdout] 36  |             |     /// Flag Register.
[INFO] [stdout] ...               |
[INFO] [stdout] 144 |             |     ]
[INFO] [stdout] 145 |             | }
[INFO] [stdout]     |             | ^
[INFO] [stdout]     |             | |
[INFO] [stdout]     |             | `crate::uart::CR::RXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::TXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::UARTEN::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::BUSY::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::RXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFF::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::ICR::ALL::Value`: not accessible
[INFO] [stdout]     |             |_`crate::uart::LCR_H::FEN::Value`: not accessible
[INFO] [stdout]     |               `crate::uart::LCR_H::WLEN::Value`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/mmu.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | /             register_bitfields! {u64,
[INFO] [stdout] 14  | |                 STAGE1_BLOCK_DESCRIPTOR [
[INFO] [stdout] 15  | |                     /// Unprivileged execute-never.
[INFO] [stdout] 16  | |                     UXN      OFFSET(54) NUMBITS(1) [
[INFO] [stdout] ...   |
[INFO] [stdout] 68  | |                 ]
[INFO] [stdout] 69  | |             }
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible
[INFO] [stdout]     | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible
[INFO] [stdout]     |               `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible
[INFO] [stdout]     = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CurrentEL` in this scope
[INFO] [stdout]   --> src/kernel.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let el = CurrentEL.read_as_enum(CurrentEL::EL);
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL`
[INFO] [stdout]    --> src/kernel.rs:71:14
[INFO] [stdout]     |
[INFO] [stdout] 71  |         Some(CurrentEL::EL::Value::EL1)=>{
[INFO] [stdout]     |              ^^^^^^^^^ use of undeclared type `CurrentEL`
[INFO] [stdout]     |
[INFO] [stdout] note: these enums exist but are inaccessible
[INFO] [stdout]    --> src/uart.rs:33:1
[INFO] [stdout]     |
[INFO] [stdout] 33  |             / register_bitfields! {
[INFO] [stdout] 34  |             |     u32,
[INFO] [stdout] 35  |             |
[INFO] [stdout] 36  |             |     /// Flag Register.
[INFO] [stdout] ...               |
[INFO] [stdout] 144 |             |     ]
[INFO] [stdout] 145 |             | }
[INFO] [stdout]     |             | ^
[INFO] [stdout]     |             | |
[INFO] [stdout]     |             | `crate::uart::CR::RXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::TXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::UARTEN::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::BUSY::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::RXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFF::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::ICR::ALL::Value`: not accessible
[INFO] [stdout]     |             |_`crate::uart::LCR_H::FEN::Value`: not accessible
[INFO] [stdout]     |               `crate::uart::LCR_H::WLEN::Value`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/mmu.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | /             register_bitfields! {u64,
[INFO] [stdout] 14  | |                 STAGE1_BLOCK_DESCRIPTOR [
[INFO] [stdout] 15  | |                     /// Unprivileged execute-never.
[INFO] [stdout] 16  | |                     UXN      OFFSET(54) NUMBITS(1) [
[INFO] [stdout] ...   |
[INFO] [stdout] 68  | |                 ]
[INFO] [stdout] 69  | |             }
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible
[INFO] [stdout]     | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible
[INFO] [stdout]     |               `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible
[INFO] [stdout]     = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL`
[INFO] [stdout]    --> src/kernel.rs:64:14
[INFO] [stdout]     |
[INFO] [stdout] 64  |         Some(CurrentEL::EL::Value::EL2)=>{
[INFO] [stdout]     |              ^^^^^^^^^ use of undeclared type `CurrentEL`
[INFO] [stdout]     |
[INFO] [stdout] note: these enums exist but are inaccessible
[INFO] [stdout]    --> src/uart.rs:33:1
[INFO] [stdout]     |
[INFO] [stdout] 33  |             / register_bitfields! {
[INFO] [stdout] 34  |             |     u32,
[INFO] [stdout] 35  |             |
[INFO] [stdout] 36  |             |     /// Flag Register.
[INFO] [stdout] ...               |
[INFO] [stdout] 144 |             |     ]
[INFO] [stdout] 145 |             | }
[INFO] [stdout]     |             | ^
[INFO] [stdout]     |             | |
[INFO] [stdout]     |             | `crate::uart::CR::RXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::TXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::UARTEN::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::BUSY::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::RXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFF::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::ICR::ALL::Value`: not accessible
[INFO] [stdout]     |             |_`crate::uart::LCR_H::FEN::Value`: not accessible
[INFO] [stdout]     |               `crate::uart::LCR_H::WLEN::Value`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/mmu.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | /             register_bitfields! {u64,
[INFO] [stdout] 14  | |                 STAGE1_BLOCK_DESCRIPTOR [
[INFO] [stdout] 15  | |                     /// Unprivileged execute-never.
[INFO] [stdout] 16  | |                     UXN      OFFSET(54) NUMBITS(1) [
[INFO] [stdout] ...   |
[INFO] [stdout] 68  | |                 ]
[INFO] [stdout] 69  | |             }
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible
[INFO] [stdout]     | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible
[INFO] [stdout]     |               `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible
[INFO] [stdout]     = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL`
[INFO] [stdout]    --> src/kernel.rs:74:14
[INFO] [stdout]     |
[INFO] [stdout] 74  |         Some(CurrentEL::EL::Value::EL0)=>{
[INFO] [stdout]     |              ^^^^^^^^^ use of undeclared type `CurrentEL`
[INFO] [stdout]     |
[INFO] [stdout] note: these enums exist but are inaccessible
[INFO] [stdout]    --> src/uart.rs:33:1
[INFO] [stdout]     |
[INFO] [stdout] 33  |             / register_bitfields! {
[INFO] [stdout] 34  |             |     u32,
[INFO] [stdout] 35  |             |
[INFO] [stdout] 36  |             |     /// Flag Register.
[INFO] [stdout] ...               |
[INFO] [stdout] 144 |             |     ]
[INFO] [stdout] 145 |             | }
[INFO] [stdout]     |             | ^
[INFO] [stdout]     |             | |
[INFO] [stdout]     |             | `crate::uart::CR::RXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::TXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::UARTEN::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::BUSY::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::RXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFF::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::ICR::ALL::Value`: not accessible
[INFO] [stdout]     |             |_`crate::uart::LCR_H::FEN::Value`: not accessible
[INFO] [stdout]     |               `crate::uart::LCR_H::WLEN::Value`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/mmu.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | /             register_bitfields! {u64,
[INFO] [stdout] 14  | |                 STAGE1_BLOCK_DESCRIPTOR [
[INFO] [stdout] 15  | |                     /// Unprivileged execute-never.
[INFO] [stdout] 16  | |                     UXN      OFFSET(54) NUMBITS(1) [
[INFO] [stdout] ...   |
[INFO] [stdout] 68  | |                 ]
[INFO] [stdout] 69  | |             }
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible
[INFO] [stdout]     | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible
[INFO] [stdout]     |               `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible
[INFO] [stdout]     = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/kernel.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(global_asm)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL`
[INFO] [stdout]    --> src/kernel.rs:71:14
[INFO] [stdout]     |
[INFO] [stdout] 71  |         Some(CurrentEL::EL::Value::EL1)=>{
[INFO] [stdout]     |              ^^^^^^^^^ use of undeclared type `CurrentEL`
[INFO] [stdout]     |
[INFO] [stdout] note: these enums exist but are inaccessible
[INFO] [stdout]    --> src/uart.rs:33:1
[INFO] [stdout]     |
[INFO] [stdout] 33  |             / register_bitfields! {
[INFO] [stdout] 34  |             |     u32,
[INFO] [stdout] 35  |             |
[INFO] [stdout] 36  |             |     /// Flag Register.
[INFO] [stdout] ...               |
[INFO] [stdout] 144 |             |     ]
[INFO] [stdout] 145 |             | }
[INFO] [stdout]     |             | ^
[INFO] [stdout]     |             | |
[INFO] [stdout]     |             | `crate::uart::CR::RXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::TXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::UARTEN::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::BUSY::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::RXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFF::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::ICR::ALL::Value`: not accessible
[INFO] [stdout]     |             |_`crate::uart::LCR_H::FEN::Value`: not accessible
[INFO] [stdout]     |               `crate::uart::LCR_H::WLEN::Value`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/mmu.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | /             register_bitfields! {u64,
[INFO] [stdout] 14  | |                 STAGE1_BLOCK_DESCRIPTOR [
[INFO] [stdout] 15  | |                     /// Unprivileged execute-never.
[INFO] [stdout] 16  | |                     UXN      OFFSET(54) NUMBITS(1) [
[INFO] [stdout] ...   |
[INFO] [stdout] 68  | |                 ]
[INFO] [stdout] 69  | |             }
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible
[INFO] [stdout]     | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible
[INFO] [stdout]     |               `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible
[INFO] [stdout]     = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL`
[INFO] [stdout]    --> src/kernel.rs:74:14
[INFO] [stdout]     |
[INFO] [stdout] 74  |         Some(CurrentEL::EL::Value::EL0)=>{
[INFO] [stdout]     |              ^^^^^^^^^ use of undeclared type `CurrentEL`
[INFO] [stdout]     |
[INFO] [stdout] note: these enums exist but are inaccessible
[INFO] [stdout]    --> src/uart.rs:33:1
[INFO] [stdout]     |
[INFO] [stdout] 33  |             / register_bitfields! {
[INFO] [stdout] 34  |             |     u32,
[INFO] [stdout] 35  |             |
[INFO] [stdout] 36  |             |     /// Flag Register.
[INFO] [stdout] ...               |
[INFO] [stdout] 144 |             |     ]
[INFO] [stdout] 145 |             | }
[INFO] [stdout]     |             | ^
[INFO] [stdout]     |             | |
[INFO] [stdout]     |             | `crate::uart::CR::RXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::TXE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::CR::UARTEN::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::BUSY::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::RXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFE::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::FR::TXFF::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible
[INFO] [stdout]     |             | `crate::uart::ICR::ALL::Value`: not accessible
[INFO] [stdout]     |             |_`crate::uart::LCR_H::FEN::Value`: not accessible
[INFO] [stdout]     |               `crate::uart::LCR_H::WLEN::Value`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/mmu.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | /             register_bitfields! {u64,
[INFO] [stdout] 14  | |                 STAGE1_BLOCK_DESCRIPTOR [
[INFO] [stdout] 15  | |                     /// Unprivileged execute-never.
[INFO] [stdout] 16  | |                     UXN      OFFSET(54) NUMBITS(1) [
[INFO] [stdout] ...   |
[INFO] [stdout] 68  | |                 ]
[INFO] [stdout] 69  | |             }
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible
[INFO] [stdout]     | |             `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible
[INFO] [stdout]     | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible
[INFO] [stdout]     |               `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible
[INFO] [stdout]     = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/kernel.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(global_asm)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]  --> src/panic.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn panic(_info: &PanicInfo) -> ! {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]   = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/9610dfe5a9a731ced1ea4923ecbd0c57fe367898/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a8a9ba95b1228749.rlib
[INFO] [stdout]   = note: second definition in the local crate (`kernel`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |             TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + 
[INFO] [stdout]    |                           ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:93:50
[INFO] [stdout]    |
[INFO] [stdout] 93 |             HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0));
[INFO] [stdout]    |                                                  ^^^^^^^ use of undeclared type `HCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL`
[INFO] [stdout]   --> src/kernel.rs:62:37
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let el = CurrentEL.read_as_enum(CurrentEL::EL);
[INFO] [stdout]    |                                     ^^^^^^^^^ use of undeclared type `CurrentEL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 47 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `embevisor` (bin "kernel" test) due to 48 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |             TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + 
[INFO] [stdout]    |                           ^^^^^^^ use of undeclared type `TCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2`
[INFO] [stdout]   --> src/mmu.rs:93:50
[INFO] [stdout]    |
[INFO] [stdout] 93 |             HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0));
[INFO] [stdout]    |                                                  ^^^^^^^ use of undeclared type `HCR_EL2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL`
[INFO] [stdout]   --> src/kernel.rs:62:37
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let el = CurrentEL.read_as_enum(CurrentEL::EL);
[INFO] [stdout]    |                                     ^^^^^^^^^ use of undeclared type `CurrentEL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Readable`
[INFO] [stdout]  --> src/kernel.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tock_registers::interfaces::{Readable};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `embevisor` (bin "kernel") due to 47 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0a4709925f80c26db03834656b4e32f5479dedbf4de889e790f282c93a816777", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a4709925f80c26db03834656b4e32f5479dedbf4de889e790f282c93a816777", kill_on_drop: false }`
[INFO] [stdout] 0a4709925f80c26db03834656b4e32f5479dedbf4de889e790f282c93a816777
